#ifndef __LOGINSIGNUP_H__
#define __LOGINSIGNUP_H__
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include"DoubleLinkList.h"
#include "StdFile.h"
#define true 1
#define false 0
struct User
{
    char *name;
    char *pwd;
};
//注册
int SignUp(char *name,char *pwd,const char *FilePath);
//分割字符串，用在回调
void StrTok(ElementType element,DBL* list);
//释放玩家
void FreeUser(struct User * user);
//登录
int Login(char *name,char *pwd,DBL *list);
#endif